-- GENERATED SPELL FOR [Boneguard Lieutenant] --


function spell0_33429(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(63010,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33429', 0, 1)
end

function spell1_33429(pUnit, Event) --@Strong Guy Sundering Thrust Aura,Self--
pUnit:FullCastSpellOnTarget(62710,pUnit)
pUnit:RegisterEvent('Sorts_33429', 604, 1)
end

function Sorts_33429(pUnit, Event)
local choix_sorts_33429 = math.random(0, 1)
if choix_sorts_33429 == 0 then
pUnit:RegisterEvent('spell0_33429', 1, 1)
end
if choix_sorts_33429 == 1 then
pUnit:RegisterEvent('spell1_33429', 1, 1)
end
end

function mob33429_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33429', math.random(1500, 3000), 1)
end

function mob33429_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33429_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33429_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33429, 1, 'mob33429_Action')
RegisterUnitEvent(33429, 2, 'mob33429_Leave')
RegisterUnitEvent(33429, 3, 'mob33429_Kill')
RegisterUnitEvent(33429, 4, 'mob33429_Die')
